Encode frame title and icon name before setting.
authorJan D. <jan.h.d@swipnet.se>
Thu, 30 Dec 2010 11:30:55 +0000 (12:30 +0100)
committerJan D. <jan.h.d@swipnet.se>
Thu, 30 Dec 2010 11:30:55 +0000 (12:30 +0100)
commit62fee76cc581d242b1d986ec579071655c004ce7
treeac6ec1d6aabe1be1a92946bcedde31945436b2ad
parent0a77976e2232b8855ccc7152a13308d67b3b7a87
Encode frame title and icon name before setting.

* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.

* nsfns.m (ns_set_name_iconic): Remove.
(ns_set_name_internal): New function.
(Vicon_title_format): Extern declare.
(ns_set_name): Call ns_set_name_internal.
(x_explicitly_set_name): Remove call to ns_set_name_iconic.
(x_implicitly_set_name): Ditto.
(x_set_title): Remove commet about EXPLICIT.  Call ns_set_name_internal.
(ns_set_name_as_filename): Encode name with ENCODE_UTF_8 (Bug#7517).
src/ChangeLog
src/coding.h
src/nsfns.m